import request from '@/utils/request'

// 首页- 获取热门品牌
export const findBrand = (limit) => {
  return request('/home/brand', 'get', { limit })
}

// 首页- 广告
export const findBanner = (distributionSite = 1) => {
  return request('/home/banner', 'get', { distributionSite })
}

// 首页- 新鲜好物
export const findNew = (limit) => {
  return request('/home/new', 'get', { limit })
}

// 首页- 人气推荐
export const findHot = () => {
  return request('/home/hot', 'get')
}
